package com.xyh.dao;

import com.xyh.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CommentMapper extends BaseDao<Comment> {
    List<Comment> getCommentByBlogIdAndParentCommentNull(Long blogId);

    List<Comment> getCommentByParentCommentId(Long id);
}
